/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upc.clase.demo.service.impl;

import edu.upc.clase.demo.dao.TipoentradaDao;
import edu.upc.clase.demo.entity.Tipoentrada;
import edu.upc.clase.demo.service.TipoentradaService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author rpalacios
 */
@Service
public class TipoentradaServiceImpl implements TipoentradaService{

     @Autowired
    TipoentradaDao tipoEntradaDao;
    
    @Override
    public Integer insertar(Tipoentrada tipo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void actualizar(Tipoentrada tipo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void eliminar(Tipoentrada tipo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Tipoentrada buscar(Integer id) {
       return tipoEntradaDao.buscar(id);
    }

    @Override
    public List<Tipoentrada> buscarTodos() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
